﻿@model MVCDemo.Models.Consultation

<table style="width:100%">
    <tr>
        <th>@Html.DisplayNameFor(model=>model.Name)</th>
        <th>@Html.DisplayFor(model=>model.Name)</th>
        <th>@Html.DisplayNameFor(model=>model.IsPublic)</th>
        <th>@Html.DisplayFor(model=>model.IsPublic)</th>
    </tr>
    <tr>
        <th>@Html.DisplayNameFor(model=>model.QQ)</th>
        <th>@Html.DisplayFor(model=>model.QQ)</th>
        <th>@Html.DisplayNameFor(model=>model.Email)</th>
        <th>@Html.DisplayFor(model=>model.Email)</th>
    </tr>
    <tr>
        <th>@Html.DisplayNameFor(model=>model.Content)</th>
        <td colspan="3">@Html.DisplayFor(model=>model.Content)</td>
    </tr>
    <tr>
        <td colspan="4">
            @if (Model.ReplyTime!=null)
            {
                <span>管理员于：@Model.ReplyTime 回复如下</span>
                <p style="margin-top:8px">
                    @Model.ReplyContent
                </p>
            }
        </td>
    </tr>
</table>